package com.linjj.seckill.domain;

import java.util.Date;

public class Order {
    private Long id;
    private Long userId;
    private Long goodsId;
    private String  address;
    private String goodsName;
    private Integer count;
    private Double price;
    private Integer orderChannel;
    private Integer status;
    private Date createTime;
    private Date payTime;
    public Order(){}
    public Order(Long userId, Long goodsId, String address, String goodsName, Integer count, Double price, Integer orderChannel, Integer status, Date createTime) {
        this.userId = userId;
        this.goodsId = goodsId;
        this.address = address;
        this.goodsName = goodsName;
        this.count = count;
        this.price = price;
        this.orderChannel = orderChannel;
        this.status = status;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getOrderChannel() {
        return orderChannel;
    }

    public void setOrderChannel(Integer orderChannel) {
        this.orderChannel = orderChannel;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
}
